package com.tuanzi.loan.business.repository.compensation;

import com.tuanzi.loan.vo.request.compensation.CompensationOrderRequest;
import com.tuanzi.loan.vo.response.compensation.CompensationOrderResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author administrator
 * @createTime 2019-06-04 15:29
 */
public interface CompensationOrderRepository {
    Page<CompensationOrderResponse> list(CompensationOrderRequest searchRequest, Pageable pageable);

    List<CompensationOrderResponse> totalList(CompensationOrderRequest searchRequest);
}

